TaskMenuR = new function() {
  this.click = function(item) {
    button = $(item).attr('itemId');
    taskId = RouterC.getAttrUpTheTree($(item).parent(),'itemId');
    if(!taskId) alert('TaskMenuC::click - The task id (itemId attr) was not defined in a parent of the event caller');
    switch(button) {
      case 'edit':
        
        break;
      case 'updateTests':
        TaskC.updateTests(taskId);
        break;
      case 'remove':
        TaskC.(taskId);
        break;
      case 'showRelateTests':
        TaskC.showRelateTests(taskId);
        break;
      case 'showAddTask':
        TaskC.showAddTask(taskId);
        break;
      case 'addTask':
        TaskC.addTask(taskId);
        break;
      case 'history':
        TaskC.showHistory(taskId);
        break;
      default:
        alert('TaskMenuR.route don�t know what to do with the ' + button + ' item');
        break;
    }
  }
}